<template>
	<div @click="this.$router.push('/requirementslist')">师生互动</div>
  <el-row :gutter="20">
    <el-col :span="8"><div class="top-one top">首页>师生互动>课堂指导</div></el-col>
    <el-col :span="10"></el-col>
    <el-col :span="6">
      <div class="top-img top">
        <div>
          <el-avatar src="../assets/1.png"/>
        </div>
        <!-- <img src="../assets/1.png" style="height:30px;margin-top:5px;"> -->
      </div>
      <div class="top-two top">username</div>
    </el-col>
  </el-row>
  <el-row :gutter="20" style="margin-top:-15px;">
    <el-col :span="6"></el-col>
    <el-col :span="4">
      <img src="../assets/biaotu.jpg" class="middle-img">
    </el-col>
    <el-col :span="8">
      <div class="middle-title">科学计算与数学分析</div>
      <div class="middle-content">
        <div class="middle-content-number">第一次授课</div>
        <div class="middle-content-time">开课时间：2022.9.1-2022.9.30</div>
        <div class="middle-content-teacher">授课老师：彭光辉</div>
        <button class="middle-content-button">查看课堂指导</button>
      </div>
    </el-col>
    <el-col :span="6"></el-col>
  </el-row>
  <el-row :gutter="20">
    <el-col :span="6"></el-col>
    <el-col :span="12">
      <div class="bottom">
		  <el-menu mode="horizontal" background-color="rgba(0, 0, 0, 0)" text-color="#000" router default-active="/interaction">
		    <el-menu-item index="/interaction">师生讨论</el-menu-item>
		    <el-menu-item index="/teacherreplies">教师回复</el-menu-item>
		    <el-menu-item index="/studentquestion">学生提问</el-menu-item>
		  </el-menu>
        <!-- <div class="bottom-title">
          <button> <div class="button1" style="color:black;">师生讨论</div></button>
          <button><div class="button2" >教师回复</div></button>
          <button><div class="button3">学生提问</div></button>
          <div></div>
          <div></div>
        </div> -->
        <div class="bottom-content">
          <div class="bottom-content-option">
            <div class="bottom-content-option-img"><el-avatar src="../assests/tou1.jpg"/><img src="../assets/tou1.jpg" class="tou-img" /> </div>
            <div class="bottom-content-option-teacher">XXX教师</div>
            <div class="bottom-content-option-answer">回复</div>
            <div class="bottom-content-option-student">XXX学生：</div>
            <div class="bottom-content-option-reply">这是回复的内容，这是回复的内容，这是回复的内容。</div>
          </div>
          <div class="bottom-content-option">
            <div class="bottom-content-option-img"><el-avatar src="../assets/1.png"/><img src="../assets/tou2.jpg" class="tou-img" /></div>
            <div class="bottom-content-option-teacher">XXX教师</div>
            <div class="bottom-content-option-answer">回复</div>
            <div class="bottom-content-option-student">XXX学生：</div>
            <div class="bottom-content-option-reply">这是回复的内容，这是回复的内容，这是回复的内容。</div>
          </div>
          <div class="bottom-content-option">
            <div class="bottom-content-option-img"><el-avatar src="../assets/1.png"/><img src="../assets/tou3.jpg" class="tou-img" /></div>
            <div class="bottom-content-option-teacher">XXX教师</div>
            <div class="bottom-content-option-answer">回复</div>
            <div class="bottom-content-option-student">XXX学生：</div>
            <div class="bottom-content-option-reply">这是回复的内容，这是回复的内容，这是回复的内容。</div>
          </div>
		  <div class="bottom-content-option">
		    <div class="bottom-content-option-img"><el-avatar src="../assets/1.png"/><img src="../assets/tou4.jpg" class="tou-img" /></div>
		    <div class="bottom-content-option-teacher">XXX教师</div>
		    <div class="bottom-content-option-answer">回复</div>
		    <div class="bottom-content-option-student">XXX学生：</div>
		    <div class="bottom-content-option-reply">这是回复的内容，这是回复的内容，这是回复的内容。</div>
		  </div>
		  <div class="bottom-content-option">
		    <div class="bottom-content-option-img"><el-avatar src="../assets/1.png"/><img src="../assets/tou5.jpg" class="tou-img" /></div>
		    <div class="bottom-content-option-teacher">XXX教师</div>
		    <div class="bottom-content-option-answer">回复</div>
		    <div class="bottom-content-option-student">XXX学生：</div>
		    <div class="bottom-content-option-reply">这是回复的内容，这是回复的内容，这是回复的内容。</div>
		  </div>
		  <div class="bottom-content-option">
		    <div class="bottom-content-option-img"><el-avatar src="../assets/1.png"/><img src="../assets/tou6.jpg" class="tou-img" /></div>
		    <div class="bottom-content-option-teacher">XXX教师</div>
		    <div class="bottom-content-option-answer">回复</div>
		    <div class="bottom-content-option-student">XXX学生：</div>
		    <div class="bottom-content-option-reply">这是回复的内容，这是回复的内容，这是回复的内容。</div>
		  </div>
        </div>
      </div>
    </el-col>
    <el-col :span="6"></el-col>
  </el-row>
 
</template>

<script>
  export default {
    setup() {}
  }
</script>

<style lang="less" scoped>
  .top {
    height: 30px;
    color: #1fab89;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
  }
  .button1 {
      background-color: #d7fbe8; /* Green */
      border: none;
      color: white;
      padding: 15px 32px;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 16px;
  }
  .button2 {
	  background-color: #d7fbe8; /* Green */
	  border: none;
	  color: black;
	  padding: 15px 32px;
	  text-align: center;
	  text-decoration: none;
	  display: inline-block;
	  font-size: 16px;
  }
  .button3 {
  	  background-color: #d7fbe8; /* Green */
  	  border: none;
  	  color: black;
  	  padding: 15px 32px;
  	  text-align: center;
  	  text-decoration: none;
  	  display: inline-block;
  	  font-size: 16px;
  }
  .top-img {
    width: 30px;
    height: 30px;
    display:inline-block;
    border-radius: 50%;
    overflow:hidden;
    margin-top: 5px;
  }
  .top-two {
    display: inline-block;
    margin-left:30px;
    margin-top:5px;
    vertical-align: top;
  }
  .middle-img {
    width: 100%;
    height: 180px;
    margin-bottom: -10px;
  }
  .tou-img{
	  width: 43px;
	  height: 43px;
	  margin-bottom: 0px;
	  margin-left: -40px;
  }
  .middle-title {
    height: 25%;
    color: #1fab89;
    font-weight: 900;
    font-size: 20px;
    line-height: 46px;
    margin-left: 10px;
  }
  .middle-content {
    height: 75%;
    background-color: #d7fbe8;
    padding-left: 10px;
    padding-top: 5px;
  }
  .middle-content>div {
    height: 20%;
    color: #1fab89;
    font-weight: 700;
  }
  .middle-content-button {
    height: 30%;
    width: 120px;
    color: white;
    background-color: #1fab89;
    border-radius: 30px;
    border: 0;
    margin-top: 5px;
  }
  .bottom {
    position: relative;
    width: 100%;
    height: 700px;
    background-color: #d7fbe8;
    margin-top: 60px;
  }
  .bottom-title {
    color: #1fab89;
    font-weight: 500;
  }
  .bottom-title>div {
    width: 18%;
    height: 50px;
    display: inline-block;
    font-size: 18px;
    border-bottom: 3px solid white;
    text-align: center;
    vertical-align: top;
    line-height: 50px;
  }
  .bottom-title-one {
    margin-left: 35px;
  }
  .bottom-content {
    top: 10%;
    left: 5%;
    position: absolute;
	font-size: 9px;
    background-color: white;
    height: 90%;
    width: 90%;
    border-radius: 15px;
  }
  .bottom-content-option {
    // background-color: aqua;
    width: 100%;
    margin-left: 15px;
  }
  .bottom-content-option {
    margin-top: 20px;
  }
  // .bottom-content-option>img {
  //   width: 50px;
  //   height: 50px;
  //   border-radius: 50%;
  //   overflow:hidden;
  //   margin-left: 10px;
  // }
  .bottom-content-option>div {
    display: inline-block;
    // line-height: 50px;
    vertical-align: middle;
    margin-left: 10px;
  }
</style>
